package cn.bdqn.service;

import cn.bdqn.pojo.Menu;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface MenuService {
    List<Menu> listAll();

    int del( Integer id);

    int insert(Menu menu);
    //@Param("name")String name,@Param("schoolName")String schoolName,@Param("className") String className,@Param("address")String address

    Menu listAllByid(Integer id);

    Integer upd(Menu menu);
}
